package com.cycle.community.entity;

import lombok.Data;

import java.util.Date;

/**
 * @author lenovo
 * @create 2022/8/12 16:59
 */
@Data
public class LoginTicket {
    private Long id;
    private Long userId;
    /**
     * 登录凭证，随机字符串，唯一标识
     */
    private String ticket;
    /**
     * 状态，凭证是否有效 0-有效 1-无效
     */
    private int status;
    /**
     * 过期时间
     */

    private Date expired;
}
